<?php
/* Name: dbRBConnection
 | ------------------------------------------------------------------------------
 | String to connect RedBean to your database.
 | Possible databases: MySQL, SQLite & Postgree
 | See the documentation for more information.
 | ------------------------------------------------------------------------------ */
$config['dbRBConnection'] = 'mysql:host=localhost;dbname=akaikiwi_test-root-root';

/* Name: usePHPPDO
 | ------------------------------------------------------------------------------
 | Whether to use PHPPDO, a PHP library emulating PDO.
 | Set this to true only if your hosting does not have PDO enabled.
 | This will make RedBean use PHPPDO instead of PDO.
 | See the documentation for more information.
 | ------------------------------------------------------------------------------ */
$config['usePHPPDO'] = FALSE;

/* Name: basePath
 | ------------------------------------------------------------------------------
 | This is the base path of your framework.
 | IMPORTANT: Do not include the last slash.
 | If akaikiwi is located at your root directory, just leave blank.
 | ------------------------------------------------------------------------------ */
$config['basePath'] = '/akaikiwi/index.php';

/* Name: baseUrl
 | ------------------------------------------------------------------------------
 | This is the complete url of your framework location.
 | IMPORTANT: Do not include the last slash.
 | ------------------------------------------------------------------------------ */
$config['baseUrl'] = 'http://localhost/akaikiwi';

/* Name: defaultController
 | ------------------------------------------------------------------------------
 | The default controller will be called when you don't specify any controller.
 | ------------------------------------------------------------------------------ */
$config['defaultController'] = 'Content';

/* Name: defaultAction
 | ------------------------------------------------------------------------------
 | The default action will be called when you don't specify any action.
 | ------------------------------------------------------------------------------ */
$config['defaultAction'] = 'index';

/* Name: debugMode
 | ------------------------------------------------------------------------------
 | If set to TRUE, it will show more information on errors.
 | ------------------------------------------------------------------------------ */
$config['debugMode'] = TRUE;

/* Name: gzip
 | ------------------------------------------------------------------------------
 | The Gzip compression level, if you don't want to allow Gzip compression
 | just set this to 0.
 | Gzip is very nice but also will increase your server work.
 | ------------------------------------------------------------------------------ */
$config['gzip'] = 5;

/* Name: helperAutoload
 | ------------------------------------------------------------------------------
 | This is used to automatically load all requested helpers, so you don't have
 | to load the most common helpers in all your views.
 | ------------------------------------------------------------------------------ */
$config['helperAutoload'] = array('urlhelper');

/* Name: sessionsUseDB
 | ------------------------------------------------------------------------------
 | If set to TRUE, it will store sessions in a database.
 | It will use the table defined in sessionsTable
 | ------------------------------------------------------------------------------ */
$config['sessionsUseDB'] = FALSE;

/* Name: sessionsTable
 | ------------------------------------------------------------------------------
 | The name of the table used for storing sessions
 | The table must have the following fields:
 | id:		not null, int, autoincrement, primary key
 | name:	varchar or text
 | value:	text
 | expires:	int
 | sid: 	varchar or text
 | ------------------------------------------------------------------------------ */
$config['sessionsTable'] = 'msessions';

/* Name: encodeSessions
 | ------------------------------------------------------------------------------
 | Whether or not to encode the value the session holds.
 | ------------------------------------------------------------------------------ */
$config['encodeSessions'] = TRUE;

/* Name: encryptionKey
 | ------------------------------------------------------------------------------
 | This key is used to seed the encryption class. It can be any string.
 | ------------------------------------------------------------------------------ */
$config['encryptionKey'] = 'You can put any string here';

/* Name: hooks
 | ------------------------------------------------------------------------------
 | For more information about hooks please see the documentation.
 | Hooks are methods executed at some point of akaikiwi execution.
 | Possible events are:
 | init, beforeController, afterController, beforeAction, afterAcion
 | ------------------------------------------------------------------------------ */
$config['hooks'] = array(
/*array(
 'event'		=>	'beforeController',
 'class'		=>	'MyHook',
 'method'	=>	'myMethod',
 'path'		=>	'app/hooks',
 'args'		=>	array('one', 'two'),
 ),*/
);

/* Name: emailsFrom
 | ------------------------------------------------------------------------------
 | This is the adress you will send emails as, normally it would be something like
 | admin@mysite.com
 | ------------------------------------------------------------------------------ */
$config['emailsFrom'] = 'admin@mysite.com';

/* Name: enableProfiler
 | ------------------------------------------------------------------------------
 | Whether to enable the profiler or not, very useful for debugging.
 | ------------------------------------------------------------------------------ */
$config['enableProfiler'] = TRUE;

/* Name: defaultLanguage
 | ------------------------------------------------------------------------------
 | The default language.
 | See the documentation for more information.
 | ------------------------------------------------------------------------------ */
$config['defaultLanguage'] = 'en';

/* Name: cachePath
 | ------------------------------------------------------------------------------
 | The relative path to the cache folder.
 | NOTE: Remember to chmod it to 0755 or 0777 depending on the server.
 | ------------------------------------------------------------------------------ */
$config['cachePath'] = 'cache';

/* EXTENDING AKAIKIWI
 | ------------------------------------------------------------------------------
 | If you have any custom library or helper, add it here so akaikiwi can load it.
 | For more info on extensions please check the documentation.
 | ------------------------------------------------------------------------------ */
/*
 $loader = AkaiKiwi::getLoader();
 $loader->addLib('myCustomLibrary');
 $loader->addHelper('myCustomHelper');
 */

// End of file: config.php
// File path: ./app/config/config.php
